import { TABLE_COLUMNS } from './constants';
import getTableMixin from '../../mixins/table';

export default {
  data () {
    return {
      TABLE_COLUMNS,
    };
  },
  mixins: [
    // hided logic
    getTableMixin({
      searchFuncName: 'updateRoleList',
      storeModuleName: 'company-setting',
      storeListField: 'roleList',
      storeTotalField: 'total',
      storeUpdateFuncName: 'updateRoleList',
    }),
  ],
};
